#ifndef REGISTER_H
#define REGISTER_H
#include <QTcpSocket>
#include <QWidget>

namespace Ui {
class Register;
}

class Register : public QWidget
{
    Q_OBJECT

public:
    explicit Register(QWidget *parent = nullptr);
    QTcpSocket *tcpClient;
    ~Register();
    QString getLocalIP();

private slots:
    void on_submit_pushButton_clicked();
    void processPendingDatagrams();
private:
    Ui::Register *ui;
};

#endif // REGISTER_H
